﻿@model List<JT.WEB.Models.Were.TbNameClass>
@{
    ViewData["Title"] = "物品类名管理";
}

<h1>物品类名管理</h1>
<table class="table">
    <thead>
        <tr>
            <th>类名</th>
            <th></th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>@item.NameClass</td>
                <td></td>
                <td>
                    <a asp-action="Edit" asp-route-NameClass="@item.NameClass">编辑</a>
                    <a asp-action="Details" asp-route-NameClass="@item.NameClass">详情</a>
                    <a asp-action="Delete" asp-route-NameClass="@item.NameClass">删除</a>

                </td>
            </tr>

        }
    </tbody>
</table>
<a asp-action="Create" class="btn btn-outline-success">增加</a>

<a asp-action="Index">返回列表</a>